Apparatuses and Methods for Detecting Faults in Pipeline Infrastructure Using Well Measurement Data

ABSTRACT

An apparatus for validating the operation of a pipeline infrastructure. The apparatus comprises: i) a plurality of test headers coupled to a plurality of wells via a field testing infrastructure; and ii) a test separator configured to select a first well for testing and to receive a multiphase fluid flow from a first one of the plurality of test headers, the first test header associated with the first well. The test separator compares at least one parameter from a current test data of the multiphase fluid flow received from the first test header with at least one parameter from a previous test data of a previous multiphase fluid flow received from the first test header and, in response to the comparison, determines whether the field testing infrastructure is operating properly.

CROSS-REFERENCE TO RELATED APPLICATION(S) AND CLAIM OF PRIORITY

The present application is related to U.S. Provisional Patent No. 62/162,716, entitled “Well Measurement With Anomaly Analysis”, and to U.S. Provisional Patent No. 62/162,717, entitled “Well Measurement With Statistical Optimization”. Provisional Patent Nos. 62/162,716 and 62/162,717 are assigned to the assignee of the present application and are hereby incorporated by reference into the present application as if fully set forth herein. The present application claims priority under 35 U.S.C. §119(e) to U.S. Provisional Patent No. 62/162,716 and 62/162,717.

The present application is related to U.S. patent application Ser. No. ______ [PHAS01-00004], entitled “Apparatuses and Methods For Evaluating Well Performance Using Deviations In Real-Time Well Measurement Data”, filed concurrently herewith. application Ser. No. ______ [PHAS01-00004] is assigned to the assignee of the present application and is hereby incorporated by reference into the present application as if fully set forth herein.

TECHNICAL FIELD

The present application relates generally to apparatuses and methods for measuring the amount of oil, water and gas in a production well and detecting anomalies during a well test based on real-time ongoing data as well as prior data from previous tests.

BACKGROUND

Crude petroleum oil and gaseous hydrocarbons are produced by extraction from subterranean reservoirs. Some reservoirs with enough natural pressure the oil and gas flows to the surface without secondary lift techniques. Often, however, other methods are required to bring them to the surface. These include a variety of pumping, injection, and lifting techniques used at various locations, such as at the surface wellhead (e.g. use of rocking beam suction pumping), at the bottom down-hole of the well (e.g. use of submersed pumping), with gas injection into the well casing creating lift and other techniques. Each of these techniques results in crude petroleum oil and gas emerging from the well head as a multiphase fluid with varying proportions of oil, water, and gas. For example, a gas lift well has large volumes of gas associated with the well. The gas-to-oil volumetric ratios can be 200 standard cubic feet of gas per barrel of oil, or higher. The complexity of the flow regimes can create large measurement uncertainties depending upon the methods.

Multiphase measurement typically provides an oil company and a stakeholder the amount of gas, oil, and water and the average temperature, pressure, gas/oil ratio, and gas volume fraction that a well produces in a day. Conventional three-phase separators, two-phase separators, and modern multiphase flow-through measurement devices capture this information. Conventional three-phase systems separate the gas, oil, and water streams, then measure the three streams with a flow meter. A two-phase system separates the gas from the liquids (oil, water), measures the flow of each, and uses a water/oil detector to obtain the oil and water rates. Newer multiphase systems use multiple detection methods, such as Venturi, gamma, or cesium sources, as well as other methods to obtain the oil, water, and gas flow rates without separation.

These tests are used to determine each well's contribution to the output streams of the production plant. The total measured production at the output is typically at lower pressures and temperatures than the inputs measured at the well test systems, which complicates the comparison of the sums of the individual well streams. The sum of the individual well test results compared to the total seen at production may be expressed as a ratio and is called the “allocation factor”. Typically, the allocation factor value may range from 0.9 to 1.1.

Since crude oil shrinks with temperature, the shrinkage must be compensated for in making the comparison. Gas volume is dependent upon temperature and pressure and this must also be considered. The test separator measurement under normal operating conditions cannot be expected to give an uncertainty of better than +/−10% to +/−20% of the reading of each phase volume flow rate. The metering uncertainty of conventional single-phase meters on a test separator varies from field to field and in most cases is very difficult to estimate.

Hydrocarbon well optimization methods include adjusting the well operating parameters and employing reservoir stimulation techniques. The effectiveness of such optimization methods is greatly enhanced if accurate well test data of the oil well is available. Specifically, in one context of hydrocarbon well production optimization, it is important to be able to determine the amount of water mixed with the crude oil. The water may be present as naturally produced ground water, water from steam injection, and/or well injection water that eventually mixed with the oil as a result of a reservoir stimulation process. One such stimulation process is known as Steam Assisted Gravity Drain stimulation (“SAGD”). Another stimulation process is the “huff and puff” stimulation method where steam is intermittently injected into the reservoir. Different types of stimulation processes can have different phase states upon start-up of the well.

A further complexity to the multiphase characteristics of crude petroleum oil stems from the fact that a given well with a given production technique does not produce a constant multiphase composition and flow rate. Production depletes reservoirs, thereby decreasing the output of hydrocarbon over time. On the other hand, well composition and volumetric output can change in a matter of seconds because a well is a vertical separator that tends to separate the gas and the liquids. For example, upon start-up, a well can take several minutes or several hours to reach steady-state operation. Therefore, a well stabilization period, typically called a “purge time”, is done before starting the actual well test.

Regardless of production technique, one constant requirement for all hydrocarbon well operations is the need to determine how much oil and gas a given well is producing over a given period (i.e., the well production rate). To that end, well testing is routinely conducted on a given well to establish the gas, water and oil flow rates.

The need for accurately characterizing a particular well's performance is important to well operation and production output optimization. Optimization operations reduce equipment failure and improve decisions to work over a well. Variable multiphase flow patterns are generated by drill string behavior, various bottom hole configurations, and possible differing layers of oil and gas in a given hydrocarbon formation. Interpreting the well characterization data requires consideration of differing patterns of well behavior, various cyclic well behaviors, and varying durations of peak and minimum flows.

The variable production techniques and the resulting varying multiphase fluids present significant challenges to well testing systems and methods. For the most part, determination of the volume of gas and volume of liquid produced over a given time is relatively easily established using gas-liquid separation techniques, and gas and liquid flow metering techniques known to a person having ordinary skill in the art of quantifying hydrocarbon well output production. However, a significant challenge lies in determining if the well test is acceptable and without reliability problems.

Data Collection During Well Testing

The actual proposed use of the well test data is not always specified in the beginning Whether for field evaluation, development and allocation of production of a new field, process control, and/or payment of taxes, the manner in which the data was obtained is important to the validity of using the data for the stated purpose. Field evaluation may only require a +/−10% accuracy, while fiscal measurement may place much tighter requirements on the design. If the data is obtained by integration over 10 minute intervals, the problems in separator efficiency, slug handling, and level control may not be observable in the data. Conversely, if the data is obtained and displayed on a 5 second interval, most operators would not interpret the data in a favorable light.

The perceived operation of a system versus the actual operation is very different in some cases. The rapid changing of data due to fluid characteristics may be interpreted as a problem with the system. Thus, if the same data had been integrated and presented differently, the same operator would believe the system is okay. Although unacceptable to the operator, this “fast” data may be of much interest to the production engineer or the reservoir engineer, since it may shed light on the actual performance of the well, the separator, and the control system. Data for fiscal use may only be the sum total oil/water/gas production per day with all periods of less than one day being inconsequential.

Various industry groups may specify sizes and types of particular components to be used in well test systems. The vessel itself may be purchased from a separator design company with the remainder specified by an engineering company. In too many instances, the designer is removed from the person specifying the field parameters and needs. In many instances, the company designing the equipment may never actually visit the field or talk to the end users of the equipment. This makes the process very dependent on the communications between the various operating groups and leads to many problems once the equipment is on site. Once the equipment arrives on the site and is commissioned by a third party, the operation is turned over to the field production groups. Thus, in many cases, it is the end user that must make the system work.

Different segments of the market require different solutions depending on whether the customer is in the Arctic, South America, or the North Sea. The difference may not necessarily be in the technology, but in the application of technology in the field. Heavy oil versus light oil applications require very different approaches to well tests. Another difference could be in the method of presenting the data to the end user. The equipment may need to be designed for simplicity or complexity depending upon the measurement needs, capital money available, and knowledge and sophistication of the operators of the fields. Several other design parameters that may affect well testing include: fluid viscosity, water cut, gas-oil ratio, oil density, water salinity, gas composition, distance of test equipment from the well head, flow stability, and reporting requirements of the operation. Today, fewer technicians are available and higher equipment reliability is required. The system maintenance must be straightforward and simple to identify problems.

Although the selection of the measurement instruments is very important to the end accuracy, the instruments are but one part of the system. The system must work as a whole and the data obtained must be consistent with the end use. The algorithms used to interpret the data collected from the separate instruments are critical to the operation of the whole. This is true whether it is a complex state-of-the-art multiphase analyzer or a two-phase vessel with standard instrumentation.

Moreover, the complexity of the oil pipeline infrastructure from the oil wells to the storage tanks and transportation facilities adds great complexity to determining the reliability of well tests and to proper operation of an oil production process. Often, valves may be improperly opened or closed by field personnel. Not only does this misdirect oil from a well to a targeted separator and/or storage tank, but this also may cause invalid well tests if it is assumed that oil from one well is being tested when in fact a different and incorrect oil well is being sampled.

Thus, solving the problem of accurately ascertaining the composition of crude petroleum presents challenges and requires solutions not adequately met by current approaches. More particularly, there is an increasing need for reduction of uncertainty in the characterization of crude oil as the value of petroleum continues to rise. More specifically, there is a need for well test systems and methods of operating well test systems for verifying the integrity and proper configuration of pipeline infrastructure in order to validate well test results.

SUMMARY

To address the above-discussed deficiencies of the prior art, it is a primary object to provide an apparatus for validating the operation of a pipeline infrastructure. In an advantageous embodiment, the apparatus comprises: i) a plurality of test headers coupled to a plurality of wells via a field testing infrastructure; and ii) a test separator configured to select a first well for testing and to receive a multiphase fluid flow from a first one of the plurality of test headers, the first test header associated with the first well. The test separator is further configured to compare at least one parameter from a current test data of the multiphase fluid flow received from the first test header with at least one parameter from a previous test data of a previous multiphase fluid flow received from the first test header and, in response to the comparison, to determine whether the infrastructure is operating properly.

In one embodiment, the test separator, in response to a determination that the field testing infrastructure is not operating properly, is further configured to identify an anomaly in the field testing infrastructure.

In another embodiment, the test separator is further configured to compare at least one parameter from a current test data of the multiphase fluid flow received from the first test header with at least one parameter from a previous test data of a previous multiphase fluid flow received from at least a second test header and, in response to the comparison, to determine if the field testing infrastructure is operating properly.

In yet another embodiment, the test separator comprises first measurement equipment that analyzes the multiphase fluid flow entering the test separator.

In still another embodiment, the test separator comprises a two phase separator that separates the multiphase flow into a gas phase stream and a liquid phase stream, the liquid phase stream comprising water and oil.

In a further embodiment, the test separator comprises second measurement equipment that analyzes the gas phase stream and third measurement equipment that analyzes the liquid phase stream.

In a still further embodiment, the apparatus further comprises: iii) a plurality of production headers coupled to the plurality of wells via a production well infrastructure; and iv) a production separator coupled to the plurality of production headers via the production well infrastructure, the production separator configured to select a first one of the production headers for testing and to receive a multiphase fluid flow from the first production header, the first production header associated with the first well. The production separator is further configured to compare at least one parameter from a current test data of the multiphase fluid flow received from the first production header with at least one of: a) at least one parameter from a previous test data of a previous multiphase fluid flow received from the first production header; or b) at least one test parameter received from the test separator. In response to the comparison, the apparatus determines if the production well infrastructure is operating properly.

In a yet further embodiment, the apparatus further comprises: iii) a plurality of production headers coupled to the plurality of wells via a production well infrastructure; and iv) a production separator coupled to the plurality of production headers via the production well infrastructure, the production separator configured to receive an aggregated multiphase fluid flow from at least two of the plurality of production headers. The production separator is further configured to compare at least one parameter from a current test data of the aggregated multiphase fluid flow received from the at least two production headers with at least one of: a) at least one parameter from a previous test data of a previous aggregated multiphase fluid flow received from the at least two production headers; or b) at least one test parameter received from the test separator. In response to the comparison, the apparatus is further configured to determine if the production well infrastructure is operating properly.

Before undertaking the DETAILED DESCRIPTION below, it may be advantageous to set forth definitions of certain words and phrases used throughout this patent document: the terms “include” and “comprise,” as well as derivatives thereof, mean inclusion without limitation; the term “or,” is inclusive, meaning and/or; the phrases “associated with” and “associated therewith,” as well as derivatives thereof, may mean to include, be included within, interconnect with, contain, be contained within, connect to or with, couple to or with, be communicable with, cooperate with, interleave, juxtapose, be proximate to, be bound to or with, have, have a property of, or the like; and the term “controller” means any device, system or part thereof that controls at least one operation, such a device may be implemented in hardware, firmware or software, or some combination of at least two of the same. It should be noted that the functionality associated with any particular controller may be centralized or distributed, whether locally or remotely. Definitions for certain words and phrases are provided throughout this patent document, those of ordinary skill in the art should understand that in many, if not most instances, such definitions apply to prior, as well as future uses of such defined words and phrases.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present disclosure and its advantages, reference is now made to the following description taken in conjunction with the accompanying drawings, in which like reference numerals represent like parts:

FIG. 1 illustrates an exemplary petroleum processing and transportation system in accordance with one embodiment of the disclosure.

FIG. 2 illustrates an exemplary embodiment of a test separator or a production separator according to the principles of the present disclosure.

FIG. 3 is a flow diagram illustrating a test procedure performed by a test separator according to the principles of the present disclosure.

FIG. 4 is a flow diagram illustrating a test procedure performed by a production separator according to the principles of the present disclosure.

FIG. 5 is a flow diagram illustrating in greater detail a test procedure performed by a test separator or production separator according to the principles of the present disclosure.

FIG. 6 illustrates exemplary test data that may be measured during a period of well tests and stored in a data storage according to exemplary embodiment of the disclosure.

FIG. 7 illustrates exemplary test result data from a first previous test.

FIG. 8 illustrates exemplary test result data from a first previous test.

FIG. 9 illustrates exemplary test result data from a current test.

FIG. 10 illustrates exemplary test result data for a liquid flow from a well.

FIG. 11 illustrates exemplary test result data for a liquid flow from a well.

FIG. 12 illustrates exemplary test result data for a liquid flow from a well.

DETAILED DESCRIPTION

FIGS. 1 through 12, discussed below, and the various embodiments used to describe the principles of the present disclosure in this patent document are by way of illustration only and should not be construed in any way to limit the scope of the disclosure. Those skilled in the art will understand that the principles of the present disclosure may be implemented in any suitably arranged petroleum production pipeline infrastructure.

The present disclosure describes systems and methods for characterizing a multiphase fluid flow stream having varying phase proportions over time and, in particular, to improved systems and methods for measuring the amount of oil, water, and gas in a production well. Detecting anomalies during a well test is very important to either accepting or rejecting a particular well test. The detection of an anomaly provides a well operator with the ability to identify and correct a problem within a pipeline infrastructure system or to begin another well test and address the issues found. The present disclosure describes a routine of setting parameters during a well test to define anomalies from real-time ongoing data in addition to comparison with prior data from previous testing to define the anomalies.

FIG. 1 illustrates exemplary petroleum processing and transportation system 100 according to one embodiment of the disclosure. Exemplary system 100 comprises numerous components of a petroleum pipeline infrastructure, including a plurality of petroleum-producing wells 105 a-105 n, a plurality of test headers 110 a-110 n, a plurality of production headers 115 a-115 n, test separator 120, production separator 130, and a plurality of crude oil storage tanks 140 a-104 n. A reservoir testing infrastructure (or field testing infrastructure) of valves and pipelines connects each of wells 105 a-n to one of test headers 110 a-n and to one of production headers 115 a-n. An additional production well infrastructure (or group well production infrastructure) of valves and pipelines connects production separator 130 to production headers 115 a-n. Each of wells 105 a-n may be located on land or undersea.

According to the principles of the present disclosure, test separator 120 is configured to receive sample streams of multi-phase fluid (e.g., oil, water, gas) from each of test headers 110 a-110 n and to perform tests that, among other things, verify the integrity and proper configuration of field testing infrastructure 106 that connects the N oil wells 105 a-n to the N test headers 110 a-n. After testing in test separator 120, the separated gas and liquids output from test separator 120 are recombined and injected into the multiphase fluids steam(s) that are entering production separator 130.

Similarly, production separator 130 may be configured to receive sample streams of multi-phase fluid (e.g., oil, water, gas) from each of production headers 115 a-115 n and to perform tests that verify the integrity and proper configuration of production well infrastructure 116 (indicated generally by dotted line) that connects the N production headers 115 a-n to production separator 130. In one embodiment, production separator 130 is configured to receive and to test individual multiphase fluid streams from each of production headers 115 a-115 n and to combine the test results of the individual streams with the test results received from test separator 120 in order to verify the integrity and proper configuration of production well infrastructure 116. In an alternate embodiment, production separator 130 is configured to receive and to test only a single multiphase fluid stream that is the combined output from all production headers 115 a-115 n and to combine the test results of the combined multiphase fluid stream with the test results received from test separator 120 in order to verify the integrity and proper configuration of production well infrastructure 116.

After testing in production separator 120, the separated gas from production separator 130 may be burned off in a flare or entered into a pipeline. The separated liquids from production separator 130 are stored in one or more storage tanks 140 a-n prior to subsequent transport.

FIG. 2 illustrates an exemplary embodiment of test separator 120 or production separator 130 according to the principles of the present disclosure. Because production separator 130 is similar in most respects to test separator 120, the following description will, for the purposes of simplicity and brevity, focus mostly on discussion of test separator 120. However, except where noted or where the context makes it obvious that only one separator is being discussed, the description of test separator 120 will generally also apply to production separator 130.

Test separator 120 comprises multiphase flow input meter 205, temperature and pressure monitor 210, gas-liquid separator 215, density & flow meter, temperature & pressure monitor 220, water analyzer device 225, liquid level control valve 230, gas flowmeter 240, gas valve 245, flow computer (or microprocessing system) 250. Test separator 120 may communicate via a communication link (e.g., wireline or wireless network) with external system 255 in order to receive commands or report test results.

Additionally, combining device 260 may recombine the separated gas and liquids in test separator 120 in order to direct the recombined multiphase fluid stream towards production separator 130. It is noted that combining device 260 is not needed in production separator 130, since the separated gas and fluids are not recombined (i.e., gas may be piped or burned in flare).

The component parts of test separator 120 (production separator 130) may be used to characterize a multiphase fluid, such as crude petroleum oil. As discussed above, many different combinations of mechanical devices and instruments can be used. The crude petroleum oil can be a liquid stream comprising oil and an aqueous or water solution, with entrained non-condensed gas. A gas-liquid-liquid multiphase fluid flow stream (i.e., oil, water gas) enters multi-phase flow input 205, which may determine the flow rate of the total flow stream. Temperature and pressure monitor 210 determines the pressure of the input flow stream.

A multiphase flow stream enters gas-liquid separator 215, where a condensable and/or non-condensable gas fraction may be separated from the multiphase fluid (oil, water) to a degree consistent with the composition and physical properties of the multiphase fluid and its components, as well as the design and operating parameters of gas-liquid separator 215, as known to a person having ordinary skill in the design and operations of gas-liquid separators. Exemplary gas-liquid separators are detailed in Chapter 12 of the third printing of the Petroleum Engineering Handbook, which is hereby incorporated by reference as if fully set forth herein. FIGS. 12.23 and 12.25 from the Petroleum Engineering Handbook show schematics of typical production gas-liquid separators as can be used as separator 215.

The gas fraction flow stream exits separator 215 and enters gas flowmeter 240, which may determine the flow rate, temperature, and pressure of the gas stream. Gas valve 245 or a similar suitable device maintains the flow ratio of the gas stream.

The liquid fraction flow stream exits separator 215 and enters density & flow meter, temperature & pressure monitor 220 and water analyzer device 225. Water analyzer device 225 electrically measures water content using an electrical characterization system. A water-cut electrical characterization system that may perform the water content measurement function of water analyzer device 255 is disclosed in U.S. Pat. No. 4,996,490, which describes some of the preferred embodiments of such a water-cut electrical characterization system according to the principles of the present disclosure.

Density & flow meter, temperature & pressure monitor 220 determines density, flow rate, temperature, and pressure of the liquid stream. Liquid level control valve 230 maintains the flow ratio of the liquid steam.

In test separator 120, combining device 260 combines or mixes the gas stream from gas valve 245 and the multiphase liquid stream from liquid level control valve 230. The recombined gas and fluid is then directed to production separator 130. As noted above, combining device 260 is not needed in production separator 130, since the separated gas and fluids are not recombined.

One or more of measuring components 210, 220, 225, 230, 240, and 245 may be electrically coupled (as shown by dashed lines) to flow computer 250. In exemplary embodiments, flow computer 250 performs and outputs the calculations of, for example, the methods described in FIGS. 3 and 4. In another embodiment, flow computer 250 may transmit or output collected measurements to external system 255 where the measurements can be stored or other calculations can be performed. By way of example, the test results from test separator 120 may be transmitted to production separator 130, which would represent external system 255.

FIG. 3 depicts flow diagram 300, which illustrates a test procedure performed by test separator 120 according to the principles of the present disclosure. In an exemplary embodiment, flow computer 250 controls the overall operation of test separator 120 and is configured in software and hardware to perform the test procedures described herein.

Initially, test separator 120 selects a well (e.g., well number 4) to test (step 310) by accessing the corresponding one of test headers 110 a-110 n in order to draw a sample multi-phase fluid from the selected well. For the selected well, test separator 120 may then recall from data storage the test parameters measured in the last test or in one or more previous tests (step 320).

FIG. 6 illustrates exemplary test data 600 that may be measured during a period of well tests and stored in a data storage according to exemplary embodiment of the disclosure. Test data 400 for individual wells may include, but are not limited to, flow statistics for gas and liquids (i.e., water, oil), drive gain history, level statistics, pressure statistics, emulsion phase history, oil/water percentage history, gas/liquid ratio history, salinity statistics, gas volume fraction (GVF) history, and the like.

Next, test separator 120 may test the selected well for a predetermined time period (step 330). Alternatively, test separator 120 may test the selected well for a predetermined number of test samples, including a single test sample. Depending on the architecture of test separator 120, a two-phase separator may measure data for the separated gas and liquids or a three-phase separator may measure data for the separated gas, oil, and water (step 340). During testing, test separator 120 may store X exemplary parameters every Y seconds (step 350). Test separator 120 continues cycling through tests until the end of predetermined time period expires (step 360).

Flow computer 250 may transfer the measured data to external system 255 (or a master system 255) (step 370). In some embodiments, the external system 255 may be a flow computer 250 disposed in production separator 130. Test separator 120 then selects the next well to be tested (step 380). Finally, flow computer 250 may use individual test results or aggregated test results to perform anomaly detection and diagnostic procedures that verify the operation and the proper configuration of field testing infrastructure 106 that connects wells 105 a-n to test headers 110 a-n and possibly production headers 115 a-n (step 390). These anomaly detection and diagnostic procedures enable flow computer 250 in test separator 120 to detect pipeline leaks, pipeline blockages, and misconnected pipelines that may result from, for example, incorrectly opening or closing a valve, either manually by a worker or automatically by a malfunctioning mechanism.

FIG. 4 depicts flow diagram 400, which illustrates a test procedure performed by production separator 130 according to the principles of the present disclosure. In an exemplary embodiment, flow computer 250 controls the overall operation of production separator 130 and is configured in software and hardware to perform the test procedures described herein.

Initially, in one embodiment, production separator 130 may select a well production header 115 to test (step 410) by accessing the corresponding one of production headers 115 a-115 n in order to draw a sample multi-phase fluid from the selected production head. For the selected production head, production separator 130 may then recall from data storage the test parameters measured in the last test or in one or more previous tests (step 420).

Alternatively, in another embodiment, production separator 130 may select a plurality of well production headers 115 to test (step 410) by receiving an aggregate multiphase flow from multiple production headers 115 a-115 n. This may include receiving from a single input pipeline an aggregated multiphase flow from all of production headers 115 a-115 n, as well as the recombined gas and liquids from test separator 120. This type of testing of the aggregated multiphase flow from all wells is possible if production separator 130 receives the test data results from test separator 120. Since production separator 130 knows the test data results of each well 105 from test separator 120, production separator 130 is able to determine the expected characteristics of a multiphase flow that would result by combining the outputs of two wells, three wells, four wells, and so forth, including the expected characteristics of a multiphase flow that results from combining the outputs of all of wells 105 a-105 n.

For the selected production head 115 or aggregate input flow, production separator 130 may then recall from data storage the test parameters measured in the last test or in one or more previous tests (step 420). Next, production separator 130 may test the selected production head 115 or aggregate flow for a predetermined time period (step 430). Alternatively, production separator 130 may test the selected production head 115 or aggregate flow for a predetermined number of test samples, including a single test sample. Depending on the architecture of production separator 130, a two-phase separator may measure data for the separated gas and liquids or a three-phase separator may measure data for the separated gas, oil, and water (step 440). During testing, production separator 130 may store X exemplary parameters every Y seconds (step 450). Production separator 130 continues cycling through tests until the end of predetermined time period expires (step 460).

Flow computer 250 may transfer the measured data to external system 255 (or a master system 255) (step 470). Production separator 130 then selects the next production head 115 or aggregate flow to be tested (step 480). Finally, flow computer 250 may use individual test results or aggregated test results to perform anomaly detection and diagnostic procedures that verify the operation and the proper configuration of production well infrastructure 116 that connects production headers 115 a-115 n to production separator 130 (step 490). These anomaly detection and diagnostic procedures enable flow computer 250 in production separator 130 to detect pipeline leaks, pipeline blockages, and misconnected pipelines that may result from, for example, incorrectly opening or closing a valve, either manually by a worker or automatically by a malfunctioning mechanism.

FIG. 5 depicts flow diagram 500, which illustrates in greater detail a test procedure performed by test separator 120 (or production separator 130) according to the principles of the present disclosure. Initially, in one embodiment, test separator 120 separates the received multiphase crude oil into gas and liquid streams (step 505). Test separator 120 then measures selected properties of the gas and liquid streams for a selected time period (step 510). As measurements are made and values are calculated, test separator 120 maintains a history of well and system parameters across the entire well test period (step 515).

In an exemplary application, test separator 120 calculates the received amounts of gas, oil, and water (step 520), among other things, and calculates and displays (or outputs) the desired well test information (step 525). Next, test separator 120 may perform cross-correlation flows with prior well test information and may perform data mining in order to detect anomalies (step 530). If the current well test information and the prior well test information are not correlated (“No” in step 535), then test separator 120 will flag the problem. If the current well test information and the prior well test information are correlated (“Yes” in step 535), then test separator 120 will determine if data mining found any anomalies.

If test separator 120 found an anomaly in the current well test information (“Yes” in step 540), then test separator 120 will flag the problem. If test separator 120 did not find an anomaly in the current well test information (“No” in step 540), then test separator 120 may determine the flow rate over a specified time period (e.g., 5 minutes).

If test separator 120 found the flow rate was zero during the specified time period (“Yes” in step 545), then test separator 120 will flag the problem. If test separator 120 did not find the flow rate was zero during the specified time period (“No” in step 545), then test separator 120 may summarize the detected anomalies and display (or output) and/or transmit the results to an external monitoring system (step 550).

Well Measurement with Anomaly Detection

The present disclosure describes improved systems and methods for determining the amount of water, oil and gas in a crude petroleum oil flow stream. Measurements may be made in real time with data logging of the multiple parameters of the test apparatus stored and then processed to improve test results. Typical well tests range from 4 hours to 24 hours per well.

As noted above, FIG. 6 illustrates exemplary test data stored in the system. This data may be taken as often as necessary, but typically is sampled and processed every 10 seconds and may contain 40 or more measured and/or calculated parameters. The selected data may be archived within the system storage for future comparisons to determine various types of anomalies.

The testing and analysis performed by test separator 120 and production separator 130 provides numerous advantages in anomaly analysis, including the following:

1) The system may look for time frames where the production has ceased or flow rates have gone to zero. This may be due to a valve being closed and the well not producing through the manifold into test separator 120. If maintenance was performed in the area around the manifold, a worker may have inadvertently diverted the well under test to the production header. Since this is not a normal situation, it would affect the test results.

2) The system may store data from the past several well tests in a manner that enables the well flow patterns to be cross-correlated with the current test data. This would show that the well performance has changed and requires a reservoir engineer to be alerted to possible problems or changes in the well.

3) If the actual data may not be practical to store, the system may use wavelets to define aperiodic intervals in order to compare the performances. Most wells have a particular aperiodic pattern, which does repeat after a time and this could be sufficient.

4) If during the testing, an electrical submersible pump begins to go bad, the flow rates and temperature would change to a different average value quickly.

5) A crack between the casing and the main production string may occur, which will divert some of the production elsewhere. Flow, temperature, and pressures would change.

6) If the operator manually switched in a different well than the one believed to be under test, the stored previous well flow and other parameters may be used to determine that the well is the wrong one.

FIGS. 7-9 illustrate an example of an anomaly that could be determined by comparing current test data and previous test data. FIG. 7 illustrates exemplary test result data 700 from a first previous test. FIG. 8 illustrates exemplary test result data 800 from a second previous test. FIG. 9 illustrates exemplary test result data 900 from a current test. If the current test has significantly different liquid and gas flow rates when compared to the prior two tests, a cross-correlation of the prior data with the current data set would show this anomaly.

FIGS. 10 and 11 illustrate another example of an anomaly that could be determined by data mining. FIG. 10 illustrates exemplary test result data 1000 for a liquid flow from a well. FIG. 11 illustrates exemplary test result data 1100 for temperature of a liquid flow from a well. In FIGS. 10 and 11, the correct well was switched into test separator 120 after the first six hours of testing, so the data for the twelve-hour test would be invalid because the first six hours corresponded to a different well.

FIG. 12 illustrates exemplary test result data 1200 for a liquid flow from a well. In FIG. 12, there was no flow for the first hours of testing because a pneumatic valve failed to open to switch the well into test.

Two Phase Separator

A two-phase separator can be supplied in various configurations, depending upon the required measuring precision and operational envelope. The multiphase meter is based upon two-phase separation followed by conventional single-phase measurements. The bulk of the separation is achieved in the gas liquid cyclone. However, additional liquid may be removed from the gas stream in the gas scrubbing and polishing stages. This example is one of many configurations for such a separator. The differences will be in the method of gas separation with cyclones or conventional residence time in a large surface area vessel. The major difference in the cyclone version is the amount of liquids in the separator at any one time is less than one barrel and therefore the response is close to the actual well performance. The techniques applied here may be used in a conventional separator as well.

The cyclone is a static section that makes use of the centrifugal force as the driving force for separation. Liquid and gas enters a spin chamber section that sets up the rotational velocity component. The mixture then flows to the inner cyclone separation section after the spin is established. The spin section can be made up of vanes or tangential ports or, alternatively, by a single tangential entry. The swirling flow induces a centrifugal field that separates the liquid and the gas—with the liquid leaving the cyclone separation chamber in the bottom through the liquid outlet line. The main challenge in designing a gas liquid cyclone is to prevent the gas from following the liquid through the underflow of the cyclone. To prevent this, the cyclone may be equipped with a gas blockage arrangement that directs the gas toward the upper portion of the cyclone section. The gas and the remaining liquid carried by the gas leave the tapered cyclone separation section through a vortex finder and pass through the spin section into the second stage separation chamber. This section is a scrubber and polishing stage that separates the last amount of liquid. The clean gas leaves at the top through the gas outlet line.

The separated gas may be measured using a Coriolis meter. This provides excellent turn down with no operator intervention and provides density along with the mass flow. Another advantage is that the gas parameters are not required to obtain measured volumes. Since the base measurement is one of mass and density, the amount of gas is known from the actual data. The density provides a method to determine if any liquids are being sent through the gas line. Other types of flow measurement, such as, for example, V-Cones, orifice plates, and ultrasonic, may be provided.

A differential pressure transmitter measures the height of the liquids in the separator, which is controlled by the liquid valve. A gas valve provides pressure control so that the pressure in the separator is higher than the production line pressure so it can deliver the liquids back into the production system. The separated liquid is routed through a microwave water cut analyzer and a suitable liquid flow meter (normally a Coriolis meter), so that both the oil and water flow rates can be derived. Again various devices may be used for measurement.

The multiphase meter includes a control system, a display, and a human interface that collect the data from the analyzers, transmitters and flow meters while controlling the system. On-line densitometers may also be used to ascertain the amount of water in petroleum oil. One on-line density method uses a Coriolis meter. This meter can be installed in the pipeline leaving the well or wells. Coriolis meters measure the density of a fluid or fluid mixture, and usually its mass flow rate as well, using the Coriolis effect. Then, calculations can be performed to indirectly determine the water percentage. For example, a Coriolis meter may measure the density of a water-oil mixture, ρ_(mixture) and then perform a simple calculation method to determine the individual fractions or percentages of the water phase and oil phase. By knowing or assuming the density of dry oil, ρ_(dry oil), and the density of the water phase, ρ_(water phase), a water weight percentage, ψ_(water), may be calculated as follows:

ψ_(water phase)=((ρ_(mixture)−ρ_(dry oil))/(ρ_(water phase)−ρ_(dry oil)))×100

It should be recognized that the water percentage by density method is subject to uncertainty. First, due to natural variations of, for example, the hydrocarbon composition of crude petroleum oil, the density of the dry oil may vary significantly from the assumed and entered value required for the simple calculation. Such a value may be entered into a densitometer based on a guess or on a history of a given hydrocarbon well, which may not be at process temperature. Crude petroleum oils may range from about 800 kilograms per cubic meter (kg/m³) to about 980 kg/m³. Further, the water encountered in hydrocarbon well production is often saline. This salinity is subject to variability, ranging from about 0.1% salt by weight to about 28%. This results in a variation in the density of the water phase from about 1020 kg/m³ to about 1200 kg/m³. Again, this value may be determined by the operator and entered into a densitometer. It is noted that an entrained gas phase may be present that will dramatically affect the density of a crude petroleum oil liquid stream as measured by a Coriolis meter, if a precise correction method is not applied for the presence of the gas.

Another technique to determine the water percentage may use a microwave analyzer, instead of a densitometer, to perform the in-line monitoring of the oil and water mixture. U.S. Pat. No. 4,862,060 to Scott entitled “Microwave Apparatus for Measuring Fluid Mixtures” (which is hereby incorporated by reference) discloses microwave apparatuses and methods that are most suitable for monitoring water percentages when the water is dispersed in a continuous oil phase.

Further uncertainty in conducting characterizations of crude petroleum oil may be caused by the physical chemistry of the oil, the water, and the mixture itself. For example, in the case of liquid-liquid mixtures undergoing mechanical energy input, the mixture usually contains a dispersed phase and a continuous phase. For water and oil, the mixture exists as either a water-in-oil or an oil-in-water dispersion. When such a dispersion changes from water phase continuous to oil phase continuous, or vice-versa, it is said to “invert the emulsion phase”.

Dispersion of one phase into another occurs under mechanical energy input, such as agitation, shaking, shearing, or mixing. When the mechanical energy is reduced or eliminated, coalescing of the dispersed phase may occur, where droplets aggregate into larger and larger volumes. Further, in a substantially static situation (e.g., reduced energy input), heavy phase “settling-out” or stratification may occur under the force of gravity.

A further complicating phase-state phenomenon of liquid-liquid mixtures is that stable or semi-stable suspensions of dispersed-phase droplets may sometimes occur. This is usually referred to as an emulsion, which may be either stable or semi-stable. Certain substances are known as emulsifiers and may increase the stability of an emulsion. This means that it takes a longer time for the emulsion to separate into two phases under the force of gravity or using other means. In the case of petroleum oils, emulsifiers are naturally present in the crude petroleum oil. For example, very stable emulsions may occur during petroleum processing, as either mixtures of water-in-oil or oil-in-water.

To address the problems of phase inversion uncertainties in aqueous and non-aqueous multiphase mixtures, U.S. Pat. No. 4,996,490 to Scott, entitled “Microwave Apparatus and Method for Measuring Fluid Mixtures” (hereby incorporated by reference) discloses microwave apparatuses and methods for accommodating phase inversion events. For the example of oil and water mixtures, the '490 patent discloses techniques for determining whether a particular mixture exists as an oil-in-water or a water-in-oil dispersion using differences in the reflected microwave power curves in the two different states of the same mixture. The '490 patent disclosed microwave apparatuses and methods that include the ability to measure microwave radiation power loss and reflection to detect the state of the dispersion. The '490 patent also discloses methods to compare the measured reflections and losses to reference reflections and losses to determine the state of the mixture as either water-in-oil or oil-in-water. This allows the proper selection and comparison of reference values relating the measured microwave oscillator frequency to the percentage water.

Although the present disclosure has been described with an exemplary embodiment, various changes and modifications may be suggested to one skilled in the art. It is intended that the present disclosure encompass such changes and modifications as fall within the scope of the appended claims. 

What is claimed is:
 1. An apparatus for validating the operation of a pipeline infrastructure comprising: a plurality of test headers coupled to a plurality of wells via a field testing infrastructure; and a test separator configured to select a first well for testing and to receive a multiphase fluid flow from a first one of the plurality of test headers, the first test header associated with the first well, wherein the test separator is further configured to compare at least one parameter from a current test data of the multiphase fluid flow received from the first test header with at least one parameter from a previous test data of a previous multiphase fluid flow received from the first test header and, in response to the comparison, to determine whether the field testing infrastructure is operating properly.
 2. The apparatus as set forth in claim 1, wherein the test separator, in response to a determination that the field testing infrastructure is not operating properly, is further configured to identify an anomaly in the field testing infrastructure.
 3. The apparatus as set forth in claim 1, wherein the test separator is further configured to compare at least one parameter from a current test data of the multiphase fluid flow received from the first test header with at least one parameter from a previous test data of a previous multiphase fluid flow received from at least a second test header and, in response to the comparison, to determine if the field testing infrastructure is operating properly.
 4. The apparatus as set forth in claim 1, wherein the test separator comprises first measurement equipment that analyzes the multiphase fluid flow entering the test separator.
 5. The apparatus as set forth in claim 4, wherein the test separator comprises a two phase separator that separates the multiphase flow into a gas phase stream and a liquid phase stream, the liquid phase stream comprising water and oil.
 6. The apparatus as set forth in claim 5, wherein the test separator comprises second measurement equipment that analyzes the gas phase stream and third measurement equipment that analyzes the liquid phase stream.
 7. The apparatus as set forth in claim 4, wherein the test separator comprises a three phase separator that separates the multiphase flow into a gas phase stream, an oil phase stream, and a water phase stream.
 8. The apparatus as set forth in claim 7, wherein the test separator comprises second measurement equipment that analyzes the gas phase stream, third measurement equipment that analyzes the oil phase stream, and fourth measurement equipment that analyzes the water phase stream.
 9. The apparatus as set forth in claim 1, further comprising: a plurality of production headers coupled to the plurality of wells via a production well infrastructure; and a production separator coupled to the plurality of production headers via the production well infrastructure, the production separator configured to select a first one of the production headers for testing and to receive a multiphase fluid flow from the first production header, the first production header associated with the first well, wherein the production separator is further configured to compare at least one parameter from a current test data of the multiphase fluid flow received from the first production header with at least one of: at least one parameter from a previous test data of a previous multiphase fluid flow received from the first production header; or at least one test parameter received from the test separator; and in response to the comparison, to determine if the production well infrastructure is operating properly.
 10. The apparatus as set forth in claim 1, further comprising: a plurality of production headers coupled to the plurality of wells via a production well infrastructure; and a production separator coupled to the plurality of production headers via the production well infrastructure, the production separator configured to receive an aggregated multiphase fluid flow from at least two of the plurality of production headers, wherein the production separator is further configured to compare at least one parameter from a current test data of the aggregated multiphase fluid flow received from the at least two production headers with at least one of: at least one parameter from a previous test data of a previous aggregated multiphase fluid flow received from the at least two production headers; or at least one test parameter received from the test separator; and in response to the comparison, to determine if the production well infrastructure is operating properly.
 11. A method of validating the operation of a pipeline infrastructure comprising a plurality of test headers coupled to a plurality of wells via a field testing infrastructure, the method comprising: in a test separator, selecting a first well for testing and receiving a multiphase fluid flow from a first one of the plurality of test headers, the first test header associated with the first well; in the test separator, comparing at least one parameter from a current test data of the multiphase fluid flow received from the first test header with at least one parameter from a previous test data of a previous multiphase fluid flow received from the first test header; and in response to the comparison, determining whether the field testing infrastructure is operating properly.
 12. The method as set forth in claim 11, further comprising: in response to a determination that the field testing infrastructure is not operating properly, identifying by the test separator an anomaly in the field testing infrastructure.
 13. The method as set forth in claim 11, further comprising: comparing at least one parameter from a current test data of the multiphase fluid flow received from the first test header with at least one parameter from a previous test data of a previous multiphase fluid flow received from at least a second test header; and in response to the comparison, determining if the field testing infrastructure is operating properly.
 14. The method as set forth in claim 11, wherein the test separator comprises first measurement equipment that analyzes the multiphase fluid flow entering the test separator.
 15. The method as set forth in claim 14, wherein the test separator comprises a two phase separator that separates the multiphase flow into a gas phase stream and a liquid phase stream, the liquid phase stream comprising water and oil.
 16. The method as set forth in claim 15, wherein the test separator comprises second measurement equipment that analyzes the gas phase stream and third measurement equipment that analyzes the liquid phase stream.
 17. The method as set forth in claim 14, wherein the test separator comprises a three phase separator that separates the multiphase flow into a gas phase stream, an oil phase stream, and a water phase stream.
 18. The method as set forth in claim 17, wherein the test separator comprises second measurement equipment that analyzes the gas phase stream, third measurement equipment that analyzes the oil phase stream, and fourth measurement equipment that analyzes the water phase stream.
 19. The method as set forth in claim 11, wherein the pipeline infrastructure further comprises a plurality of production headers coupled to the plurality of wells via a production well infrastructure, the method further comprising: in a production separator coupled to the plurality of production headers via the production well infrastructure, selecting a first one of the production headers for testing and receiving a multiphase fluid flow from the first production header, the first production header associated with the first well; in the production separator, comparing at least one parameter from a current test data of the multiphase fluid flow received from the first production header with at least one of: at least one parameter from a previous test data of a previous multiphase fluid flow received from the first production header; or at least one test parameter received from the test separator; and in response to the comparison, determining if the production well infrastructure is operating properly.
 20. The method as set forth in claim 11, wherein the pipeline infrastructure further comprises a plurality of production headers coupled to the plurality of wells via a production well infrastructure, the method further comprising: in a production separator coupled to the plurality of production headers via the production well infrastructure, receiving an aggregated multiphase fluid flow from at least two of the plurality of production headers; in the production separator, comparing at least one parameter from a current test data of the aggregated multiphase fluid flow received from the at least two production headers with at least one of: at least one parameter from a previous test data of a previous aggregated multiphase fluid flow received from the at least two production headers; or at least one test parameter received from the test separator; and in response to the comparison, determining if the production well infrastructure is operating properly. 